home *** CD-ROM | disk | FTP | other *** search
/ Mac Easy 2010 May / Mac Life Ubuntu.iso / casper / filesystem.squashfs / usr / share / doc / python-gnome2 / examples / bonobo / echo / echo-client.py next >
Encoding:
Text File  |  2009-03-14  |  184 b   |  9 lines

  1. import bonobo
  2. import Bonobo
  3.  
  4. bonobo.activate ()
  5.  
  6. obj = bonobo.get_object ('OAFIID:Bonobo_Sample_Echo', 'Bonobo/Sample/Echo')
  7. obj.echo ('This is the message from the python client\n')
  8.  
  9.